﻿using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using System.Threading.Tasks;

namespace Zeus.AspnetCoret.Test
{
    class Startup
    {
        public void ConfigureServices(IServiceCollection services)
        {

        }

        public void Configure(IApplicationBuilder app)
        {
            app.UseMiddleware<TestMiddleware>();

            app.Run(async context =>
            {
                await context.Response.WriteAsync("yeah");
               
            });
        }

    }
}
